package com.microservice.model.system;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 角色表
 */
@Data
@TableName("role")
public class Role implements Serializable {
    @Serial
    private static final long serialVersionUID = -1L;

    private Integer id;
    private String name;
    private String remark;
    /**
     * 删除标记（0：正常；2：删除；）
     */
    @TableLogic(value = "0", delval = "2")
    private Integer deleteFlag;

}
